Methods for reducing data cache access power in a processor using way selection bits

ABSTRACT

Methods for reducing data cache access power in a processor. In an embodiment, a micro tag array is used to store base address or base register data bits, offset data bits, a carry bit, and way selection data bits associated with cache accesses. When a LOAD or a STORE instruction is fetched, at least a portion of the base address and at least a portion of the offset of the instruction are compared to data stored in the micro tag array. If a micro tag array hit occurs, the micro tag array generates a cache dataram enable signal. This signal activates only the cache dataram that stores the needed data.

CROSS REFERENCE TO RELATED APPLICATION

This application is related to commonly owned U.S. patent application Ser. No. 11/505,865, titled “PROCESSOR HAVING A MICRO TAG ARRAY THAT REDUCES DATA CACHE ACCESS POWER IN A PROCESSOR, AND APPLICATIONS THEREOF,” filed on Aug. 18, 2006 (now pending), which is incorporated herein by reference in its entirety.

FIELD OF THE INVENTION

The present invention relates generally to processors and more particularly to reducing cache access power in a processor.

BACKGROUND OF THE INVENTION

Many processors have a cache. A cache is a block of memory for temporary storage of data that can be accessed by a processor more quickly than main memory. The cache array is typically indexed by a subset of the address bits and tagged with the remaining address bits. In a set-associative cache, each index in the cache can hold multiple memory locations. For example, a 4 way set-associative cache can hold 4 memory locations at each cache index. A typical set-associative cache has one or more arrays holding the tag values, referred to as the tagrams, and one or more arrays holding the data values, referred to as datarams. For fast access, it is common to implement each way of the data in a separate dataram.

In order to operate a processor at or near its peak performance, the tagram and the datarams of a cache of a conventional processor are energized and accessed in parallel during each memory read and each memory write operation. Following each operation (e.g., in which a cache hit occurs), a selection process chooses the contents of one of the datarams of the cache and supplies this contents to the processor. The contents of the remaining datarams are disregarded.

While this conventional cache access technique works, energizing a tagram and multiple datarams during each memory read and each memory write operation of a processor wastes energy. What are needed are new techniques and means for accessing a cache that overcome the limitations associated with conventional cache access techniques and means.

BRIEF SUMMARY OF THE INVENTION

The present invention provides methods for accessing a cache and reducing data cache access power. In an embodiment, a micro tag array is used to store base address or base register data bits, offset data bits, a carry bit, and way selection data bits associated with cache accesses. When a LOAD or a STORE instruction is fetched, at least a portion of the base address and at least a portion of the offset of the instruction are compared to data stored in the micro tag array. If a micro tag array hit occurs, the micro tag array generates a cache dataram enable signal. This signal enables only a single dataram of the cache. If a micro tag array hit occurs, a signal is also generated that disables the cache tagram.

It is a feature of the present invention that it uses early stages of a processing pipeline to derive usable cache way selection information. This information, which is based on previous way selection information, is used to determine which dataram of a cache stores needed data and to actively conserve power by enabling only the dataram containing the needed data.

Further embodiments, features, and advantages of the present invention, as well as the structure and operation of the various embodiments of the present invention, are described in detail below with reference to the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS/FIGURES

The accompanying drawings, which are incorporated herein and form a part of the specification, illustrate the present invention and, together with the description, further serve to explain the principles of the invention and to enable a person skilled in the pertinent art to make and use the invention.

FIG. 1 is a diagram of a processor according to an embodiment of the present invention.

FIG. 2 is a diagram of a processor having a micro tag array according to a first embodiment of the present invention.

FIG. 3 is a diagram of a processor having a micro tag array according to a second embodiment of the present invention.

FIG. 4 is a diagram of a processor having a micro tag array according to a third embodiment of the present invention.

FIG. 5 is a diagram of a processor having a micro tag array according to a fourth embodiment of the present invention.

FIG. 6 is a diagram of an example system embodiment of the present invention.

The present invention is described with reference to the accompanying drawings. The drawing in which an element first appears is typically indicated by the leftmost digit or digits in the corresponding reference number.

DETAILED DESCRIPTION OF THE INVENTION

The present invention provides methods for reducing data cache access power in a processor, and applications thereof. In the detailed description of the invention that follows, references to “one embodiment”, “an embodiment”, “an example embodiment”, etc., indicate that the embodiment described may include a particular feature, structure, or characteristic, but every embodiment may not necessarily include the particular feature, structure, or characteristic. Moreover, such phrases are not necessarily referring to the same embodiment. Further, when a particular feature, structure, or characteristic is described in connection with an embodiment, it is submitted that it is within the knowledge of one skilled in the art to effect such feature, structure, or characteristic in connection with other embodiments whether or not explicitly described.

FIG. 1 is a diagram of a processor 100 according to an embodiment of the present invention. As shown in FIG. 1, processor 100 includes an execution unit 102, a fetch unit 104, a floating point unit 106, a load/store unit 108, a memory management unit (MMU) 110, an instruction cache 112, a data cache 114, a bus interface unit 116, a power management unit 118, a multiply/divide unit (MDU) 120, and a coprocessor 122. While processor 100 is described herein as including several separate components, many of these components are optional components that will not be present in each embodiment of the present invention, or components that may be combined, for example, so that the functionality of two components reside within a single component. Thus, the individual components shown in FIG. 1 are illustrative and not intended to limit the present invention.

Execution unit 102 preferably implements a load-store (RISC) architecture with arithmetic logic unit operations (e.g., logical, shift, add, subtract, etc.). In one embodiment, execution unit 102 includes 32-bit general purpose registers (not shown) used for scalar integer operations and address calculations. Optionally, one or more additional register file sets can be included to minimize content switching overhead, for example, during interrupt and/or exception processing. Execution unit 102 interfaces with fetch unit 104, floating point unit 106, load/store unit 108, multiple-divide unit 120 and coprocessor 122.

Fetch unit 104 is responsible for providing instructions to execution unit 102. In one embodiment, fetch unit 104 includes control logic for instruction cache 112, a recorder for recoding compressed format instructions, dynamic branch prediction, an instruction buffer to decouple operation of fetch unit 104 from execution unit 102, and an interface to a scratch pad (not shown). Fetch unit 104 interfaces with execution unit 102, memory management unit 110, instruction cache 112, and bus interface unit 116.

Floating point unit 106 interfaces with execution unit 102 and operates on non-integer data. As many applications do not require the functionality of a floating point unit, this component of processor 100 will not be present in all embodiments of the present invention.

Load/store unit 108 is responsible for data loads and stores, and includes data cache control logic. Load/store unit 108 interfaces with data cache 114 and other memory such as, for example, a scratch pad and/or a fill buffer. Load/store unit 108 also interfaces with memory management unit 110 and bus interface unit 116.

Memory management unit 110 translates virtual addresses to physical addresses for memory access. In one embodiment, memory management unit 110 includes a translation lookaside buffer (TLB) and may include a separate instruction TLB and a separate data TLB. Memory management unit 110 interfaces with fetch unit 104 and load/store unit 108.

Instruction cache 112 is an on-chip memory array organized as a multi-way set associative cache such as, for example, a 2-way set associative cache or a 4-way set associative cache. Instruction cache 112 is preferably virtually indexed and physically tagged, thereby allowing virtual-to-physical address translations to occur in parallel with cache accesses. In one embodiment, the tags include a valid bit and optional parity bits in addition to physical address bits. Instruction cache 112 interfaces with fetch unit 104.

Data cache 114 is also an on-chip memory array. Data cache 114 is preferably virtually indexed and physically tagged. In one embodiment, the tags include a valid bit and optional parity bits in addition to physical address bits. As described in more detail below, it is a feature of the present invention that components of data cache 114 can be selectively enabled and disabled to reduce the total power consumed by processor 100. Data cache 114 interfaces with load/store unit 108.

Bus interface unit 116 controls external interface signals for processor 100. In one embodiment, bus interface unit 116 includes a collapsing write buffer used to merge write-through transactions and gather writes from uncached stores.

Power management unit 118 provides a number of power management features, including low-power design features, active power management features, and power-down modes of operation. In one embodiment, processor 100 implements a wait instruction that signals to selected components of processor 100 that execution and/or clocking should be halted, thereby reducing power consumption during the idle period. These power management features are in addition to the power saving features described herein with reference, for example, to FIGS. 2-5.

Multiply/divide unit 120 performs multiply and divide operations for processor 100. In one embodiment, multiply/divide unit 120 preferably includes a pipelined multiplier, result and accumulation registers, and multiply and divide state machines, as well as all the control logic required to perform, for example, multiply, multiply-add, and divide functions. As shown in FIG. 1, multiply/divide unit 120 interfaces with execution unit 102.

Coprocessor 122 performs various overhead functions for processor 100. In one embodiment, coprocessor 122 is responsible for virtual-to-physical address translations, implementing cache protocols, exception handling, operating mode selection, and enabling/disabling interrupt functions. Coprocessor 122 interfaces with execution unit 102.

FIG. 2 is a diagram of a processor having a micro tag array 210 according to an embodiment of the present invention. In addition to micro tag array 210, the processor includes a register file 202 and a processor pipeline register 204.

As shown in FIG. 2, micro tag array 210 includes registers 212, 214, 216, and 218. These four registers comprise an array entry of micro tag 210. Micro tag array 210 also includes comparators 220, 222, and 224, an adder 226, and control logic 228, 230, and 232. Micro tag array 210 is coupled to processor pipeline register 204.

Register 212 is used to store way selection data bits. The stored way selection data bits identify a particular dataram of a cache such as data cache 114, shown in FIG. 1. The number of bits stored in register 212 is B₈. In one embodiment, B₈ is 4 bits with a 1-hot encoding indicating which of the 4 ways was used in a previous cache access.

Register 214 is used to store base address data bits. The bits stored in register 214 are provided to register 214 by a base address portion 206 of pipeline processor register 204. The number of bits stored in register 212 is B₄. In one embodiment, B₄ is the upper twenty-seven bits of a thirty-two bit memory base address. In other embodiments, more than or less than twenty-seven bits may be stored.

Register 216 is used to store offset data bits. The bits stored in register 216 are provided to register 216 by an offset portion 208 of pipeline processor register 204. The number of bits stored in register 216 is B₆. In one embodiment, B₆ is the upper eleven bits of a sixteen bit memory offset. In other embodiments, more than or less than eleven bits may be stored.

Register 218 is used to store a carry bit. The carry bit stored in register 218 is generated by adder 226.

As shown in FIG. 2, data bits are read into registers 212, 214, 216, and 218 whenever an array update signal is applied to these registers. This array update signal is generated by control logic 234. Data is cleared from registers 212, 214, 216, and 218 (or marked as invalid) whenever an array invalidate signal is applied to these registers. This array invalidate signal is generated by control logic 236.

Comparator 220 of micro tag array 210 is coupled to register 214 and base address portion 206 of processor pipeline register 204. Comparator 220 compares bits stored in base address portion 206 of processor pipeline register 204 to bits stored in register 214. If the two sets of bits match, comparator 220 generates a hit signal. Otherwise, comparator 220 generates a miss signal. The output signal of comparator 220 is provided to control logic 228.

Comparator 222 of micro tag array 210 is coupled to register 216 and offset portion 208 of processor pipeline register 204. Comparator 222 compares bits stored in offset portion 208 of processor pipeline register 204 to bits stored in register 216. If the two sets of bits match, comparator 222 generates a hit signal. Otherwise, comparator 222 generates a miss signal. The output signal of comparator 222 is provided to control logic 228.

Comparator 224 of micro tag array 210 is coupled to register 218 and adder 226. Comparator 224 compares the carry bit stored in register 218 to a carry bit generated by adder 226. If the two carry bits match, comparator 224 generates a hit signal. Otherwise, comparator 224 generates a miss signal. The output signal of comparator 224 is provided to control logic 228.

Adder 226 adds bits B₅ stored in base address portion 206 of processor pipeline register 204 to bits B₇ stored in offset portion 208 of processor pipeline register 204 and generates a carry bit. This carry bit is provided to comparator 224. The carry bit is also stored in register 218. In one embodiment, adder 226 adds the lower five bits of a memory base address stored in base address portion 206 of processor pipeline register 204 to the lower five bits of a memory offset stored in offset portion 208 of processor pipeline register 204. In other embodiments, more than or less than five bits may be added by adder 226.

Control logic 228 generates a micro tag array entry hit signal if each of the comparators 220, 222, and 224 generate a hit signal. Otherwise, control logic 228 generates a miss signal. The output signal of control logic 228 is provided to control logic 230 and control logic 232.

Control logic 230 is used to generate a dataram enable signal. The inputs to control logic 230 are the output signal of control logic 228, a LOAD/STORE ACCESS signal, and the way selection data bits stored in register 212.

Control logic 232 is used to generate a tagram enable signal. The inputs to control logic 232 are the output signal of control logic 228 and a LOAD/STORE ACCESS signal.

FIG. 3 is a diagram of a processor having a micro tag array 300 according to an embodiment of the present invention. Micro tag array 300 includes a plurality of array entries 302. In preferred embodiments of the present invention, micro tag array 300 includes from one to four array entries 302. The invention is not limited, however, to having between one and four array entries. As described in more detail below, micro tag array 300 is a multi-entry micro tag array that operates in a manner similar to micro tag array 210.

The processors of FIGS. 2 and 3 operate as follows. An instruction 201 is fetched by the processor. In an embodiment, instruction 201 is a LOAD or a STORE instruction having an opcode 203, a base register value 205, a destination (or source) register value 207, and an offset value 209. The base register value includes B₁ bits that are used to transfer a base address value stored in register file 202 to base address portion 206 of processor pipeline register 204. The offset value 209 includes B₂ bits, which are stored in offset portion 208 of processor pipeline register 204.

A subset of the bits stored in base address portion 206 of processor pipeline register 204 is compared using comparator 220 to bits stored in register 214. This comparison determines whether the base address of instruction 201 matches a base address stored in an array entry of the micro tag array.

A subset of the bits stored in offset portion 208 of processor pipeline register 204 is compared using comparator 222 to bits stored in register 216. This comparison determines if there is a match of the offset value of instruction 201 to an offset value stored in an entry of the micro tag array.

In order to find matches within the range of a particular dataram and to eliminate neighbor set accesses, adder 226 adds bits B₅ and B₇ of pipeline processor register 204 (e.g., the lower five bits of the base address value and the offset value of instruction 201) to generate a carry value. This carry value is then compared to a carry value stored in register 218.

If each of the comparators 220, 222, and 224 associated with a particular entry of the micro tag array generates a hit signal, control logic 228 generates a hit signal, which causes control logic 230 to enable a single dataram specified by bits stored in register 212. This also disables the tagram.

In one embodiment, each of the registers 212, 214, 216, and 218 are set to zero at start-up of the processor. The first LOAD or STORE instruction executed by the processor will access the data cache without a micro tag array hit. Thus, the cache will be accessed in a conventional manner. However, the outcome of the cache tag comparison will yield way selection information that will be stored in register 212 of an array entry of the micro tag array. The base address value and the offset value of the instruction will also be stored in the array entry. This information will then be available for use with the next LOAD or STORE instruction executed by the processor.

If the next LOAD or STORE instruction does not create a hit within the first entry of the micro tag array, another micro tag array entry is found and the access information is stored as described above. This fill process will continue until all available entries of the micro tag array are filled. In an embodiment, when this occurs, the first entry of the micro tag array is again declared eligible for data storage. Such a replacement scheme is commonly referred to as a least recently filled replacement scheme, and it is easily implemented using a shift register (e.g., a 1-hot N-bit shift register). Other replacement schemes such as, for example, a least recently used scheme are implemented in other embodiments of the present invention.

In one embodiment, because refill operations are a relatively rare event compared to LOAD/STORE access events, control logic 236 invalidates all of the array entries of the micro tag array whenever a tagram write occurs. In another embodiment, control logic 236 selectively invalidates only array entries of the micro tag array whose way selection data bits correspond to an intended refill way of the cache. This embodiment, improves the efficiency of the micro tag array.

Because the micro tag array is comparing virtual addresses, the array will need to be invalidated when the virtual to physical address translation changes. This change could be the result of a write to the TLB array or a change in the current address space. These are relatively rare events and invalidating the entire array does not significantly reduce the efficiency of the micro tag array. In an alternative embodiment, including an address space identifier in the micro TLB would remove the need to invalidate on a change of address space. In another embodiment, only TLB writes that impact the particular virtual page used in the micro tag array would cause an invalidation.

FIG. 4 is a diagram of a processor having a micro tag array 410 according to an embodiment of the present invention. As shown in FIG. 4, micro tag array 410 includes registers 212, 414, 216, and 218. These four registers comprise an array entry of micro tag 410. Micro tag array 410 also includes comparators 414, 222, and 224, an adder 226, and control logic 228, 230, and 232. Micro tag array 410 is coupled to a processor pipeline register 402.

Register 212 is used to store way selection data bits. The stored way selection data bits identify a particular dataram of a cache such as data cache 114, shown in FIG. 1. The number of bits stored in register 212 is B₈. In one embodiment, B₈ is 4 bits with a 1-hot encoding indicating which of the 4 ways was used in a previous cache access.

Register 414 is used to store base register data bits. The bits stored in register 414 are provided to register 414 by the base register portion 404 of processor pipeline register 402. The number of bits stored in register 412 is B₄. In one embodiment, the number of bits stored in register 414 is equal to the number of bits contained in base register value 205 of instruction 201. In another embodiment, a different number of bits may be stored in register 414, for example, if instruction 201 is a compressed format instruction and zeros are added to the bits B₁ to make the base register value compatible with the base register values of normal format instructions.

As shown in FIG. 4, processor pipeline register 402 also stores base address bits B₉ in a based address portion 406 of processor pipeline register 402. These bits come from a register of register file 202, which is associated with base register value 205 of instruction 201. In one embodiment, the bits B₉ are the lower five bits of the memory base address value stored in register file 202.

Register 216 is used to store offset data bits. The bits stored in register 216 are provided to register 216 by an offset portion 408 of pipeline processor register 402. The number of bits stored in register 216 is B₆. In one embodiment, B₆ is the upper eleven bits of a sixteen bit memory offset. In other embodiments, more than or less than eleven bits may be stored.

Register 218 is used to store a carry bit. The carry bit stored in register 218 is generated by adder 226.

As shown in FIG. 4, data bits are read into registers 212, 414, 216, and 218 whenever an array update signal is applied to these registers. This array update signal is generated by control logic 234. Data is cleared from registers 212, 414, 216, and 218 (or marked as invalid) whenever an array invalidate signal is applied to these registers. This array invalidate signal is generated by control logic 236.

Comparator 414 of micro tag array 410 is coupled to register 412 and base register portion 404 of processor pipeline register 402. Comparator 414 compares bits stored in base register portion 404 of processor pipeline register 402 to bits stored in register 412. If the two sets of bits match, comparator 414 generates a hit signal. Otherwise, comparator 414 generates a miss signal. The output signal of comparator 414 is provided to control logic 228.

Comparator 222 of micro tag array 410 is coupled to register 216 and offset portion 408 of processor pipeline register 402. Comparator 222 compares bits stored in offset portion 408 of processor pipeline register 402 to bits stored in register 216. If the two sets of bits match, comparator 222 generates a hit signal. Otherwise, comparator 222 generates a miss signal. The output signal of comparator 222 is provided to control logic 228.

Comparator 224 of micro tag array 410 is coupled to register 218 and adder 226. Comparator 224 compares the carry bit stored in register 218 to a carry bit generated by adder 226. If the two carry bits match, comparator 224 generates a hit signal. Otherwise, comparator 224 generates a miss signal. The output signal of comparator 224 is provided to control logic 228.

Adder 226 adds bits B₉ stored in base address portion 406 of processor pipeline register 402 to bits B₇ stored in offset portion 408 of processor pipeline register 402 and generates a carry bit. This carry bit is provided to comparator 224. The carry bit is also stored in register 218. In one embodiment, adder 226 adds the lower five bits of a memory base address stored in base address portion 406 of processor pipeline register 402 to the lower five bits of a memory offset stored in offset portion 408 of processor pipeline register 402. In other embodiments, more than or less than five bits may be added by adder 226.

Control logic 228 generates a micro tag array entry hit signal if each of the comparators 414, 222, and 224 generate a hit signal. Otherwise, control logic 228 generates a miss signal. The output signal of control logic 228 is provided to control logic 230 and control logic 232.

Control logic 230 is used to generate a dataram enable signal. The inputs to control logic 230 are the output signal of control logic 228, a LOAD/STORE ACCESS signal, and the way selection data bits stored in register 212.

Control logic 232 is used to generate a tagram enable signal. The inputs to control logic 232 are the output signal of control logic 228 and a LOAD/STORE ACCESS signal.

FIG. 5 is a diagram of a processor having a micro tag array 500 according to an embodiment of the present invention. Micro tag array 500 includes a plurality of array entries 502. In preferred embodiments of the present invention, micro tag array 500 includes from one to four array entries 502. The invention is not limited, however, to having between one and four array entries. Micro tag array 500 is a multi-entry micro tag array that operates in a manner similar to micro tag array 410.

As can be seen, for example, from a comparison of FIGS. 2 and 4, the base address comparison implemented by register 214 and comparator 220 of the processor of FIG. 2 is replaced by a base register comparison in the processor of FIG. 4. This base register comparison is implemented using register 412 and comparator 414. This feature of the processor of FIG. 4 avoids the need for a wide base address comparison and offers more timing flexibility for high speed processors.

The processors of FIGS. 4 and 5 operate in a manner similar to that described herein with regard to the processors of FIGS. 2 and 3. Thus, it is not necessary to repeat this description here. Please see the description herein relating to how processors of the present invention operate to reduce data cache access power.

FIG. 6 is a diagram of an example system 600 according to an embodiment of the present invention. System 600 includes a processor 602, a memory 604, an input/output (I/O) controller 606, a clock 608, and custom hardware 610. In an embodiment, system 600 is an application specific integrated circuit (ASIC) or a system on a chip (SOC).

Processor 602 is any processor that includes features of the present invention described herein and/or implements a method embodiment of the present invention. In one embodiment, processor 602 includes an instruction fetch unit, an instruction cache, an instruction decode and dispatch unit, one or more instruction execution unit(s), a data cache, a register file, and a bus interface unit similar to processor 100 described above.

Memory 604 can be any memory capable of storing instructions and/or data. Memory 604 can include, for example, random access memory and/or read-only memory.

Input/output (I/O) controller 606 is used to enable components of system 600 to receive and/or send information to peripheral devices. I/O controller 606 can include, for example, an analog-to-digital converter and/or a digital-to-analog converter.

Clock 608 is used to determine when sequential subsystems of system 600 change state. For example, each time a clock signal of clock 608 ticks, state registers of system 600 capture signals generated by combinatorial logic. In an embodiment, the clock signal of clock 608 can be varied. The clock signal can also be divided, for example, before it is provided to selected components of system 600.

Custom hardware 610 is any hardware added to system 600 to tailor system 600 to a specific application. Custom hardware 610 can include, for example, hardware needed to decode audio and/or video signals, accelerate graphics operations, and/or implement a smart sensor. Persons skilled in the relevant arts will understand how to implement custom hardware 610 to tailor system 600 to a specific application.

While various embodiments of the present invention have been described above, it should be understood that they have been presented by way of example, and not limitation. It will be apparent to persons skilled in the relevant computer arts that various changes in form and detail can be made therein without departing from the spirit and scope of the invention. Furthermore, it should be appreciated that the detailed description of the present invention provided herein, and not the summary and abstract sections, is intended to be used to interpret the claims. The summary and abstract sections may set forth one or more but not all exemplary embodiments of the present invention as contemplated by the inventors.

For example, in addition to implementations using hardware (e.g., within or coupled to a Central Processing Unit (“CPU”), microprocessor, microcontroller, digital signal processor, processor core, System on Chip (“SOC”), or any other programmable or electronic device), implementations may also be embodied in software (e.g., computer readable code, program code, instructions and/or data disposed in any form, such as source, object or machine language) disposed, for example, in a computer usable (e.g., readable) medium configured to store the software. Such software can enable, for example, the function, fabrication, modeling, simulation, description, and/or testing of the apparatus and methods described herein. For example, this can be accomplished through the use of general programming languages (e.g., C, C++), GDSII databases, hardware description languages (HDL) including Verilog HDL, VHDL, SystemC Register Transfer Level (RTL) and so on, or other available programs, databases, and/or circuit (i.e., schematic) capture tools. Such software can be disposed in any known computer usable medium including semiconductor, magnetic disk, optical disk (e.g., CD-ROM, DVD-ROM, etc.) and as a computer data signal embodied in a computer usable (e.g., readable) transmission medium (e.g., carrier wave or any other medium including digital, optical, or analog-based medium). As such, the software can be transmitted over communication networks including the Internet and intranets.

It is understood that the apparatus and method embodiments described herein may be included in a semiconductor intellectual property core, such as a microprocessor core (e.g., embodied in HDL) and transformed to hardware in the production of integrated circuits. Additionally, the apparatus and methods described herein may be embodied as a combination of hardware and software. Thus, the present invention should not be limited by any of the above-described exemplary embodiments, but should be defined only in accordance with the following claims and their equivalence. 

1. A method for reducing data cache access power in a processor, comprising: (1) storing base address data bits, offset data bits, a first carry bit, and way selection data bits respectively in a base register, an offset register, a carry register and a way selection register in a micro tag array; (2) invalidating entries of the micro tag array whose way selection data bits correspond to an intended refill way of the cache when a tagram write occurs; and (3) enabling a first dataram of a cache specified by way selection data bits stored in the way selection register of the micro tag array if first selected base address data bits stored in a processor pipeline register match base address data bits stored in the base register of the micro tag array, and if first selected offset data bits stored in the processor pipeline register match offset data bits stored in the offset register of the micro tag array, and if a second carry bit formed by an addition of second selected base address data bits stored in the processor pipeline register and second selected offset data bits stored in the processor pipeline register match the first carry bit.
 2. The method of claim 1, wherein step (2) comprises comparing a subset of the base address data bits stored in the processor pipeline register to base address data bits stored in the base register of the micro tag array.
 3. The method of claim 1, wherein step (2) comprises comparing a subset of the offset data bits stored in the processor pipeline register to offset data bits stored in the offset register of the micro tag array.
 4. The method of claim 1, wherein step (2) comprises adding a subset of the base address data bits stored in the processor pipeline register and a subset of the offset data bits stored in the processor pipeline register to form the second carry bit.
 5. The method of claim 1, wherein the micro tag array includes a plurality of array entries, and step (1) comprises storing base address data bits, offset data bits, a carry bit, and way selection data bits in each of the array entries.
 6. The method of claim 5, further comprising replacing data stored in the array entries according to a least-recently-filled replacement scheme.
 7. A method for reducing data cache access power in a processor, comprising: (1) storing base register data bits, offset data bits, a first carry bit, and way selection data bits respectively in a base register, an offset register, a carry register and a way selection register in a micro tag array; (2) invalidating entries of the micro tag array whose way selection data bits correspond to an intended refill way of the cache when a tagram write occurs; and (3) enabling a first dataram of a cache specified by way selection data bits stored in the way selection register of the micro tag array if first selected base register data bits stored in a processor pipeline register match base address data bits stored in the base register of the micro tag array, and if first selected offset data bits stored in the processor pipeline register match offset data bits stored in the offset register of the micro tag array, and if a second carry bit formed by an addition of selected base address data bits stored in the processor pipeline register and second selected offset data bits stored in the processor pipeline register match the first carry bit.
 8. The method of claim 7, wherein step (2) comprises comparing a subset of the offset data bits stored in the processor pipeline register to offset data bits stored in the offset register of the micro tag array.
 9. The method of claim 7, wherein step (2) comprises adding a subset of the base address data bits stored in the processor pipeline register and a subset of the offset data bits stored in the processor pipeline register to form the second carry bit.
 10. The method of claim 7, wherein the micro tag array includes a plurality of array entries, and step (1) comprises storing base register data bits, offset data bits, a carry bit, and way selection data bits in each of the array entries.
 11. The method of claim 7, further comprising replacing data stored in the array entries according to a least-recently-filled replacement scheme.
 12. A method for reducing data cache access power in a processor, comprising: (1) storing first data bits, second data bits, a first carry bit, and way selection data bits respectively in a first register, a second register, a carry register and a way selection register in a micro tag array; (2) invalidating entries of the micro tag array whose way selection data bits correspond to an intended refill way of the cache when a tagram write occurs; and (3) enabling a first dataram of a cache specified by way selection data bits stored in the way selection register of the micro tag array if selected first data bits stored in a processor pipeline register match a first set of data bits stored in the first register of the micro tag array, and if selected second data bits stored in the processor pipeline register match a second set of data bits stored in the second register of the micro tag array, and if a second carry bit formed by an addition of a first subset of data bits stored in the processor pipeline register and a second subset of data bits stored in the processor pipeline register match the first carry bit.
 13. The method of claim 12, wherein step (2) comprises comparing base address data bits.
 14. The method of claim 12, wherein step (2) comprises comparing base register data bits.
 15. The method of claim 12, wherein the micro tag array includes a plurality of array entries, and step (1) comprises storing first data bits, second data bits, a carry bit, and way selection data bits in each of the array entries.
 16. The method of claim 15, further comprising replacing data stored in the array entries according to a least-recently-filled replacement scheme.
 17. The method of claim 15, wherein step (1) comprises storing base address data bits.
 18. The method of claim 15, wherein step (1) comprises storing base register data bits. 